import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: ()=>import('../views/AdminLevelAdd.vue'),
    },
    {
      path: '/showLevel',
      component: ()=>import('../views/AdminLevelShow.vue'),
    },
    {
      path: '/memberadd',
      component: ()=>import('../views/MemberAdd.vue'),
    },
    {
      path: '/leveladd',
      component: ()=>import('../views/Member/LevelAdd.vue'),
    },
    {
      path: '/getlevel',
      component: ()=>import('../views/Member/GetLevel.vue'),
    },

    {
      path: '/addmember',
      component: ()=>import('../views/Member/AddMember.vue'),
    },
    
    {
      path: '/memberlist',
      component: ()=>import('../views/Member/MemberList.vue'),
    },

    {
      path: '/memberupd',
      component: ()=>import('../views/Member/MemberUpd.vue'),
    },

    {
      path: '/levelshow',
      component: ()=>import('../views/Week/LevelShow.vue'),
    },

    {
      path: '/levelupd',
      component: ()=>import('../views/Week/LevelUpd.vue'),
    },

    {
      path: '/infoshow',
      component: ()=>import('../views/Week/InfoShow.vue'),
    },

    {
      path: '/infoadd',
      component: ()=>import('../views/Week/InfoAdd.vue'),
    },

    {
      path: '/shopAdd',
      component: ()=>import('../views/Shop/ShopAdd.vue'),
    },

    {
      path: '/shopList',
      component: ()=>import('../views/Shop/ShopList.vue'),
    },
  
  ],
})

export default router
